<div class="row">
	<div class="col-md-12">
		<form id="view-form" class="form-horizontal" method="post" onsubmit="return false">
			<input type="hidden" id="id" name="id" value="${sysPermissionInit.id}">
			<div class="box-body" >
				<div class="form-group">
					<label for="permission-code" class="col-sm-2 control-label" >编码</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="code" id="permission-code"  value="${sysPermissionInit.code}" placeholder="输入编码...">
					</div>
				</div>
				<div class="form-group">
					<label for="permission-url" class="col-sm-2 control-label">URL路径</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="url" id="permission-url" value="${sysPermissionInit.url}" placeholder="输入URL路径...">
					</div>
				</div>
				<div class="form-group">
					<label for="permission-permissionInit" class="col-sm-2 control-label">权限</label>
					<div class="col-sm-10">
						<input  type="text" id="permission-permissionInit" class="form-control color-input" name="permissionInit"   value="${sysPermissionInit.permissionInit}" placeholder="请输入权限...">
					</div>
				</div>

				<div class="form-group">
					<label  for="permission-sort-order" class="col-sm-2  control-label">排列顺序</label>
					<div class="col-sm-4">
						<input type="number" id="permission-sort-order" class="form-control color-input" name="sortOrder" value="${sysPermissionInit.sortOrder}"  placeholder="选择排列顺序...">
					</div>
					<label  for="permission-status" class="col-sm-2  control-label">状态</label>
					<div class="col-sm-4">
						<select class="form-control" id="permission-status"  name="status" style="width: 100%;">
						</select>
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label" >描述</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="description" id="permission-description" value="${sysPermissionInit.description}" placeholder="输入描述...">
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-2 control-label">备注</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="remark" id="permission-remark"  value="${sysPermissionInit.remark}"  placeholder="输入备注...">
					</div>
				</div>
			</div>
			<div class="box-footer">
				<div class="pull-right">
					<button type="button" class="btn btn-default btn-sm" data-dismiss="modal"><i class="fa fa-close"></i> 关闭</button>
				</div>
			</div>
		</form>
	</div>
</div>
<script type="text/javascript">
    $("#permission-status").select2({
        data: StatusStore,
        placeholder: "请选择...",
        language: "zh-CN",
        theme: "bootstrap",
        minimumResultsForSearch: Infinity
    }).val('${sysPermissionInit.status}').trigger("change");
</script>